<?php
// Eedi Kirves phpkursus1109 20.10.2010

$mas[0]="karu";
$mas[1]="janes";
$mas[2]="rebane";
$mas[3]="ilves";
$mas[4]="koer";
$mas[5]="siga";
$mas[6]="metssiga";
$mas[7]="kits";
$mas[8]="rott";
$mas[9]="hiir";

foreach ($mas as $i => $j)
{
  echo "mas key $i = $j <br>";
  
}


?>